package cn.yunhe.entity;

public class Supp {
	private int pid;
	private String pname;
	private int pstate;
	private String pphone;
	private String paddre;
	// 加入 构造方法 便于 插入数据
	public Supp() {
		super();
	}
	public Supp(String pname, int pstate) {
		super();
		this.pname = pname;
		this.pstate = pstate;
	}


	public Supp(int pid, String pname, String pphone, String paddre) {
		super();
		this.pid = pid;
		this.pname = pname;
		this.pphone = pphone;
		this.paddre = paddre;
	}

	public Supp(String pname, int pstate,String pphone, String paddre) {
		super();
		this.pname = pname;
		this.pstate = pstate;
		this.pphone = pphone;
		this.paddre = paddre;
	}
	
	
	
	public Supp(int pid) {
		super();
		this.pid = pid;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public int getPstate() {
		return pstate;
	}
	public void setPstate(int pstate) {
		this.pstate = pstate;
	}

	public String getPphone() {
		return pphone;
	}
	public void setPphone(String pphone) {
		this.pphone = pphone;
	}
	public String getPaddre() {
		return paddre;
	}
	public void setPaddre(String paddre) {
		this.paddre = paddre;
	}
	
}
